<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <p>行内元素加了绝对定位和固定定位之后可以直接加宽度和高度</p>
    <p>块级元素加了绝对定位和固定定位之后如果不给宽度和高度默认大小是内容大小</p>
</body>
</html>